Release 10.1A: OpenEdge Reporting:
Report Builder Deployment


Running Report Engine from an application

This section describes how to run reports from Progress 4GL applications. It contains the following examples:

All the samples illustrate how to run Report Engine with a local multi-user database. The samples use the rbsample.prl report library and the OpenEdge Sports database. The rbsample.prl report library is located in %DLC%\SRC\aderb.

You can run reports from a 4GL application by running the _printrb.p procedure. This procedure runs the report using the parameters you specify. You specify the desired parameters for each report in the RUN statement when you run Report Engine.

To run a report with Report Engine:

  1. Create the report definition in Report Builder.
  2. Use the following command in the Progress 4GL application:
  3. RUN aderb/_printrb.p <parameters> 
    

    Note: Parameters are described in Chapter 3, " Report Engine Parameters."

Remember that the startup parameters in PROSTARTUP and RBSTARTUP files apply to the PRINTRB and PRNTRB2 interfaces even though there is no explicit command line available.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095